package engine;

import donnees.*;

public class ChoixPrefTypeRoute {
    private TypeRoute typeRoute;

    public ChoixPrefTypeRoute() {
    }

    public ChoixPrefTypeRoute(TypeRoute t) {
    	typeRoute = t;
    }
    
    public void ajouterContraintes(Donnees d) {
    	d.acTypeRoute(typeRoute.getNom());
    }

    public TypeRoute getTypeRoute() {
        return typeRoute;
    }

    public void setTypeRoute(TypeRoute val) {
        this.typeRoute = val;
    }
}
